package com.nullpointer.idlegame;

import com.nullpointer.idlegame.service.MainService;
import javafx.stage.Stage;

/**
 * 全局上下文
 */
public class GlobalContent {

    /**
     * 基础舞台
     */
    private static Stage basicStage;

    private static MainService mainService;


    public static Stage getBasicStage() {
        return basicStage;
    }

    public static void setBasicStage(Stage basicStage) {
        GlobalContent.basicStage = basicStage;
    }

    public static MainService getMainService() {
        return mainService;
    }

    public static void setMainService(MainService mainService) {
        GlobalContent.mainService = mainService;
    }
}
